package pg.entity;

import deepr.anno.Property;
import deepr.anno.Schema;
import deepr.handler.OrgTableSchemaHandler;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@Schema(name = "visit", handler = OrgTableSchemaHandler.class)
@Data
public class Visit {

  @Property(primaryKey = true)
  private Long id;
  @Property
  private LocalDateTime ts;
  @Property
  private Long peopleId;
  @Property(schema = People.class, forProperty = "peopleId")
  private People people;
  @Property
  private LocalDate startDate;

}
